#ifndef MYSQLDBHELP_H
#define MYSQLDBHELP_H

#include <QString>
#include <QDate>
#include <QMap>
#include <QObject>
#include <QtSql/QSqlQuery>

namespace MyDBLibary
{
    class MySqlDbHelp : public QObject
    {
        Q_OBJECT
    public:
        MySqlDbHelp();
        ~MySqlDbHelp();

        static MySqlDbHelp* getInstance();
        bool excuteSql(QString sql);
        QSqlQuery getDataList(QString strSql);


    private:
        //static MySqlDbHelp* dbSelf;

    };
}

#endif